


import request from '@/utils/request'

//查询模型列表	
export function vrModelList(data) {
	return request({
		url: '/admin/vrModel/vrModelList',
		method: 'get',
		params:data
	})
}
//添加模型
export function modelSave(data) {
	return request({
		url: '/admin/vrModel/saveVrModel',
		method: 'post',
		data
	})
}
// 更新模型信息 

export function modelUpdate(data) {
	return request({
		url: '/admin/vrModel/updateVrModel',
		method: 'post',
		data
	})
}

//删除模型
export function removeVrModel(data) {
	return request({
		url: '/admin/vrModel/removeVrModel',
		method: 'delete',
		params:data
	})
}

// 查询模型子组件信息

export function selectVrModelComponentInfo(data) {
	return request({
		url: '/admin/vrModel/selectVrModelComponentInfo',
		method: 'GET',
		params:data
	})
}
// 查询模型详情
export function selectVrModelDetail(data) {
	return request({
		url: '/admin/vrModel/selectVrModelDetail',
		method: 'GET',
		params:data
	})
}

// 更新组件模型 


export function updateVrModelComponent(data) {
	return request({
		url: '/admin/vrModel/updateVrModelComponent',
		method: 'post',
		data
	})
}